/*
 * Author(s): huah Date: 2012-04-15
 */

package com.zoolu.sip.header;


public class SessionExpiresHeader extends Header {

	public SessionExpiresHeader(String hvalue) {
		super(SipHeaders.Session_Expires, hvalue);
	}

	public SessionExpiresHeader(Header hd) {
		super(hd);
	}

	public int getExpire() {
		String expireValue = value.substring(0, value.indexOf(";"));
		return Integer.parseInt(expireValue);
	}

}
